package com.zsqat.eshop.ware.dao;

import com.zsqat.eshop.ware.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商品库存
 *
 * @author zsqat
 * @email 491192853@qq.com
 * @date 2020-11-19 15:37:52
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {
  // 采购完成更新库存
  void addStock(@Param("skuId") Long skuId, @Param("wareId") Long wareId, @Param("skuNum") Integer skuNum);
}
